
#include <a_samp>
#include <aaSunShine>

#define Version 1
#define MAJ 0
#define BUG 0
#define TPASS "pass"

#define TGROOVE 1
#define TAZTEC 2
#define TBIKER 3
#define TCIVIL 4
#define TPOLICE 5
#define TCHIKEN 6
#define TMAFIA 7


#define DIAPASSTEAM 1


new str[128];


enum PlIn
{
	car,
	Login,
	Argent,
	interior,
	staff,
 	LZR,
 	Silence,
 	Jail,
 	commande,
 	chat,
 	kill,
 	death
 	
};
new PI[MAX_PLAYERS][PlIn];
enum Pbank{
	creer,
	pin,
	solde,
	retrait,
	ajout,
	totalajout,
	totalretrait
};
new Bank[MAX_PLAYERS][Pbank];



main()
{
	print("\n----------------------------------");
	print(" SunShine 2011 by Lzrteam");
	printf("SunShine V%d.%d.%d",Version,MAJ,BUG);
	print("----------------------------------\n");
}


public OnGameModeInit()
{
	format(str,128,"SunShine V%d.%d.%d",Version,MAJ,BUG);
	SetGameModeText(str);

	SetTimer("isPlayerInArea", 3500, 1);
	Perso();
	SetWorldTime(20);
	UsePlayerPedAnims();
	LimitPlayerMarkerRadius(150.0);
	/* LS Air Stunts */
	CreateObject(3816,-1059.7076416016, -309.81234741211, 19.041917800903, 0, 0, 272);
	CreateObject(6877,-1147.0278320313, -312.76068115234, 4.6433844566345, 0, 354, 2);
	CreateObject(1633,-1115.3829345703, -307.79370117188, 11.327409744263, 5.99853515625, 0, 93.99951171875);
	CreateObject(1633,-1115.1042480469, -311.93371582031, 11.327409744263, 5.99853515625, 0, 93.9990234375);
	CreateObject(1633,-1114.7744140625, -316.07000732422, 11.327409744263, 5.99853515625, 0, 93.9990234375);
	CreateObject(681,-1088.9859619141, -301.40692138672, 10.608278274536, 0, 0, 0);
	CreateObject(681,-1089.1474609375, -302.85546875, 10.608278274536, 0, 0, 0);
	CreateObject(681,-1088.83984375, -317.14688110352, 10.608278274536, 0, 0, 0);
	CreateObject(681,-1088.7894287109, -318.17221069336, 10.608278274536, 0, 0, 0);
	CreateObject(3506,-1118.4820556641, -320.48422241211, 13.1484375, 0, 0, 0);
	CreateObject(3506,-1119.80859375, -304.3583984375, 13.1484375, 0, 0, 0);
	CreateObject(16773,-1087.4228515625, -321.4111328125, 14.500469207764, 0, 0, 271.99951171875);
	CreateObject(16773,-1088.38671875, -300.669921875, 14.500469207764, 0, 0, 91.994018554688);
	CreateObject(985,-1087.9326171875, -303.44107055664, 19.34365272522, 0, 0, 272);
	CreateObject(985,-1087.6602783203, -311.31066894531, 19.34365272522, 0, 0, 271.99951171875);
	CreateObject(985,-1087.2268066406, -319.14904785156, 19.34365272522, 0, 0, 271.99951171875);
	CreateObject(979,-1103.5341796875, -301.72564697266, 10.963633537292, 0, 0, 2);
	CreateObject(979,-1094.2883300781, -301.39437866211, 10.963633537292, 0, 0, 1.99951171875);
	CreateObject(979,-1093.1174316406, -320.35021972656, 11.363627433777, 0, 0, 359.99951171875);
	CreateObject(979,-1102.396484375, -320.01651000977, 11.363627433777, 0, 0, 355.99450683594);
	CreateObject(19002,1989.5950927734, -2501.9943847656, 21.642244338989, 0, 0, 268);
	CreateObject(19002,1990.7021484375, -2487.0102539063, 21.642244338989, 0, 0, 267.99499511719);
	CreateObject(19002,1921.9444580078, -2486.29296875, 21.642244338989, 0, 0, 269.99499511719);
	CreateObject(19002,1922.1831054688, -2502.1118164063, 21.642244338989, 0, 0, 269.99450683594);
	CreateObject(19002,1854.0388183594, -2493.7075195313, 21.642244338989, 0, 0, 269.99450683594);
	CreateObject(19002,1788.6702880859, -2493.8491210938, 21.642244338989, 0, 0, 269.99450683594);
	CreateObject(19002,1724.3720703125, -2493.98828125, 21.642244338989, 0, 0, 269.99450683594);
	CreateObject(19002,1669.9938964844, -2494.1064453125, 21.642244338989, 0, 0, 269.99450683594);
	CreateObject(19002,1606.4453125, -2494.2446289063, 21.642244338989, 0, 0, 269.99450683594);
	CreateObject(19002,1541.5775146484, -2494.3852539063, 21.642244338989, 0, 0, 269.99450683594);
	CreateObject(19002,1478.529296875, -2494.5219726563, 21.642244338989, 0, 0, 269.99450683594);
	CreateObject(19002,1419.7420654297, -2488.9152832031, 21.642244338989, 0, 0, 269.99450683594);
	CreateObject(18991,1470.1552734375, -2494.2368164063, 30.904281616211, 0, 0, 0);
	CreateObject(18982,1527.865234375, -2490.6586914063, 38.773792266846, 0, 0, 274);
	CreateObject(18982,1626.2683105469, -2483.7749023438, 38.773792266846, 0, 0, 273.9990234375);
	CreateObject(18982,1725.8306884766, -2476.8039550781, 38.773792266846, 0, 0, 273.9990234375);
	CreateObject(19001,1761.1052246094, -2538.3010253906, 22.342184066772, 0, 0, 0);
	CreateObject(19001,1685.8714599609, -2539.8405761719, 22.342184066772, 0, 0, 0);
	CreateObject(19001,1855.4927978516, -2546.7734375, 22.342184066772, 0, 0, 0);
	CreateObject(18984,1936.3354492188, -2459.7709960938, 18.03911781311, 0, 0, 268.5);
	CreateObject(18984,1837.6206054688, -2457.1491699219, 18.03911781311, 0, 0, 268.49487304688);
	CreateObject(18777,2088.2902832031, -2466.3930664063, 15.021883010864, 0, 0, 352);
	CreateObject(18777,2088.7241210938, -2464.4289550781, 40.941905975342, 6, 0, 341.99645996094);
	CreateObject(18777,2087.6606445313, -2467.5776367188, 66.701904296875, 5.99853515625, 0, 341.99340820313);
	CreateObject(1225,2101.515625, -2475.2124023438, 90.424110412598, 0, 0, 0);
	CreateObject(1225,2102.3044433594, -2475.4704589844, 90.424110412598, 0, 0, 0);
	CreateObject(1225,2103.109375, -2475.6550292969, 90.424110412598, 0, 0, 0);
	CreateObject(1225,2103.9721679688, -2476.0532226563, 90.424110412598, 0, 0, 0);
	CreateObject(1225,2104.7890625, -2476.4306640625, 90.424110412598, 0, 0, 0);
	CreateObject(1225,2105.4702148438, -2476.7456054688, 90.424110412598, 0, 0, 0);
	CreateObject(1225,2106.1735839844, -2477.0705566406, 90.424110412598, 0, 0, 0);
	CreateObject(1225,2107.0583496094, -2477.4797363281, 90.424110412598, 0, 0, 0);
	CreateObject(1225,2107.7841796875, -2477.8154296875, 90.424110412598, 0, 0, 0);
	CreateObject(1225,2108.5788574219, -2478.1828613281, 90.424110412598, 0, 0, 0);
	CreateObject(1225,2109.3273925781, -2478.5290527344, 90.424110412598, 0, 0, 0);
	CreateObject(1225,2106.6215820313, -2477.2900390625, 90.424110412598, 0, 0, 0);
	CreateObject(18782,2008.8403320313, -2464.3190917969, 13.8828125, 0, 0, 0);
	CreateObject(18782,2067.3310546875, -2428.6704101563, 13.8828125, 0, 0, 0);
	CreateObject(18782,2063.0009765625, -2551.8083496094, 13.8828125, 0, 0, 0);
	CreateObject(18782,2028.3231201172, -2566.2141113281, 13.8828125, 0, 0, 0);
	CreateObject(18782,2002.8991699219, -2528.0515136719, 13.8828125, 0, 0, 0);
	CreateObject(18782,1949.2764892578, -2555.8920898438, 13.8828125, 0, 0, 0);
	CreateObject(18782,1948.1254882813, -2532.9389648438, 13.8828125, 0, 0, 0);
	CreateObject(18787,1940.0677490234, -2473.3125, 15.03911781311, 0, 0, 0);
	CreateObject(18787,1960.0169677734, -2473.3439941406, 15.03911781311, 0, 0, 0);
	CreateObject(18787,1920.7066650391, -2473.3337402344, 15.03911781311, 0, 0, 0);
	CreateObject(18787,1900.79296875, -2473.2585449219, 15.03911781311, 0, 0, 0);
	CreateObject(18787,1867.54296875, -2473.4526367188, 15.03911781311, 0, 0, 0);
	CreateObject(18787,1848.0025634766, -2473.4506835938, 15.03911781311, 0, 0, 0);
	CreateObject(18787,1828.1376953125, -2473.4167480469, 15.03911781311, 0, 0, 0);
	CreateObject(18787,1808.8967285156, -2473.2587890625, 15.03911781311, 0, 0, 0);
	CreateObject(18787,1798.6013183594, -2473.3283691406, 15.03911781311, 0, 0, 0);
	CreateObject(18800,1844.0965576172, -2422.611328125, 22.135942459106, 0, 0, 0);
	CreateObject(18800,1785.2169189453, -2423.5397949219, 45.650932312012, 0, 0, 181.25);
	CreateObject(18800,1844.7105712891, -2421.9924316406, 69.236083984375, 0, 0, 1.2469482421875);
	CreateObject(18846,1817.2536621094, -2439.3071289063, 86.884201049805, 0, 0, 0);
	CreateObject(18850,1682.9017333984, -2452.9670410156, 24.8046875, 0, 0, 0);
	CreateObject(18815,1640.0959472656, -2455.02734375, 37.5546875, 0, 0, 0);
	CreateObject(18815,1583.8823242188, -2452.0090332031, 37.5546875, 0, 0, 0);
	CreateObject(18815,1530.2880859375, -2455.4855957031, 37.5546875, 0, 0, 0);
	CreateObject(18846,1925.6240234375, -2573.6276855469, 17.46875, 0, 0, 0);
	CreateObject(18843,1881.1973876953, -2594.4130859375, 112.22467803955, 0, 0, 0);
	CreateObject(18843,1812.7907714844, -2590.6525878906, 112.22467803955, 0, 0, 0);
	CreateObject(18843,1728.9569091797, -2586.0437011719, 112.22467803955, 0, 0, 0);
	CreateObject(18843,1732.7890625, -2516.3188476563, 112.22467803955, 0, 0, 0);
	CreateObject(18843,1806.7171630859, -2520.3825683594, 112.22467803955, 0, 0, 0);
	CreateObject(18843,1885.3477783203, -2524.7045898438, 112.22467803955, 0, 0, 0);
	CreateObject(18843,1885.34765625, -2524.7041015625, 112.22467803955, 0, 0, 0);
	CreateObject(18836,1967.0258789063, -2398.8940429688, 18.7109375, 6, 0, 358);
	CreateObject(18836,1968.7000732422, -2351.0458984375, 23.725942611694, 5.99853515625, 0, 357.99499511719);
	CreateObject(18836,1970.3537597656, -2303.7214355469, 28.675928115845, 5.99853515625, 0, 357.99499511719);
	CreateObject(18836,1971.9676513672, -2257.009765625, 33.600936889648, 5.99853515625, 0, 357.99499511719);
	CreateObject(18854,1973.1412353516, -2216.2956542969, 79.622589111328, 0, 0, 268);
	CreateObject(18860,2029.8337402344, -2539.3024902344, 79.622833251953, 0, 0, 0);
	CreateObject(18818,2031.8610839844, -2622.1345214844, 29.71875, 0, 0, 0);
	CreateObject(18818,1981.8721923828, -2621.4504394531, 29.618751525879, 0, 0, 0);
	CreateObject(18818,1931.9649658203, -2621.7937011719, 29.668750762939, 0, 0, 0);
	CreateObject(18779,1950.4146728516, -2599.1721191406, 22.439064025879, 0, 0, 1.25);
	CreateObject(18779,1899.2290039063, -2599.2355957031, 22.439064025879, 0, 0, 359.24694824219);
	CreateObject(18779,1833.3316650391, -2603.958984375, 22.439064025879, 0, 0, 359.24194335938);
	CreateObject(18779,1833.5900878906, -2592.9091796875, 22.439064025879, 0, 0, 359.24194335938);
	CreateObject(18779,1700.1408691406, -2591.6296386719, 22.439064025879, 0, 0, 1.241943359375);
	CreateObject(18781,1557.3146972656, -2633.2243652344, 23.098447799683, 0, 0, 182);
	CreateObject(18752,1441.2458496094, -2546.0036621094, -8.2331237792969, 0, 0, 0);
	CreateObject(18750,1430.3022460938, -2411.4790039063, 35.9609375, 90, 179.30322265625, 180.69679260254);
	CreateObject(18759,1453.6685791016, -2446.8005371094, 12.5546875, 0, 0, 0);
	CreateObject(18801,2035.3917236328, -2498.4006347656, 33.4765625, 0, 0, 10);
	CreateObject(18783,1473.3428955078, -2640.5444335938, 15.0390625, 0, 0, 2);
	CreateObject(18783,1493.2927246094, -2639.919921875, 15.0390625, 0, 0, 1.99951171875);
	CreateObject(18783,1512.5637207031, -2639.1931152344, 15.0390625, 0, 0, 1.99951171875);
	CreateObject(18783,1511.9487304688, -2619.4260253906, 15.0390625, 0, 0, 1.99951171875);
	CreateObject(18783,1492.3276367188, -2620.0637207031, 15.0390625, 0, 0, 1.99951171875);
	CreateObject(18783,1472.5793457031, -2620.8583984375, 15.0390625, 0, 0, 1.99951171875);
	CreateObject(18778,1448.7724609375, -2630.5563964844, 14.040628433228, 0, 0, 272);
	CreateObject(18778,1526.2287597656, -2495.1647949219, 14.040628433228, 0, 0, 269.99951171875);
	CreateObject(18778,1492.453125, -2494.0922851563, 14.040628433228, 0, 0, 89.994506835938);
	CreateObject(18778,1586.8040771484, -2495.4816894531, 14.040628433228, 0, 0, 269.99450683594);
	CreateObject(18778,1644.5302734375, -2494.5554199219, 14.040628433228, 0, 0, 269.99450683594);
	CreateObject(18778,1710.6497802734, -2495.8039550781, 13.190626144409, 0, 0, 269.99450683594);
	CreateObject(18778,1770.3657226563, -2495.2314453125, 13.090627670288, 0, 0, 269.99450683594);
	CreateObject(18778,1846.9965820313, -2494.5224609375, 12.890630722046, 0, 0, 269.99450683594);
	CreateObject(18778,1906.5244140625, -2503.4501953125, 12.890630722046, 0, 0, 269.99450683594);
	CreateObject(18778,1906.5424804688, -2487.82421875, 12.890630722046, 0, 0, 269.99450683594);
	CreateObject(18778,1976.900390625, -2503.4248046875, 12.890630722046, 0, 0, 269.99450683594);
	CreateObject(18778,1976.9155273438, -2488.2451171875, 12.890630722046, 0, 0, 269.99450683594);
	AddStaticVehicle(534,2484.6628,-1655.9478,13.0530,90.5136,86,86); //
	AddStaticVehicle(466,2475.7773,-1681.8276,13.1203,339.3870,86,86); //
	AddStaticVehicle(475,2505.1086,-1695.0637,13.3612,2.7333,86,0); //
	AddStaticVehicle(461,2509.3687,-1677.6377,13.1314,67.1459,86,86); //
	AddStaticVehicle(481,2469.2573,-1678.5652,13.0234,39.4958,86,86); //
	AddStaticVehicle(567,2506.9902,-1663.9484,13.2748,45.5117,86,86); //
// Vagos cars
	AddStaticVehicle(474,2662.2056,-1435.9623,30.2591,88.6047,81,1); //
	AddStaticVehicle(467,2662.9900,-1427.8962,30.2280,88.6401,58,8); //
	AddStaticVehicle(576,2662.1431,-1419.6113,30.0828,92.1153,68,96); //
	AddStaticVehicle(575,2638.1819,-1403.4094,29.9302,179.0165,19,96); //
	AddStaticVehicle(462,2653.3303,-1382.8475,30.0290,199.6677,13,13); //
	AddStaticVehicle(521,2682.7803,-1394.8186,30.2497,96.1270,75,13); //
// cop cas
	AddStaticVehicle(596,1554.0859,-1608.3030,13.1040,180.9425,0,1); //
	AddStaticVehicle(596,1560.4459,-1608.2982,13.1019,179.9717,0,1); //
	AddStaticVehicle(528,1593.5459,-1610.5184,13.5328,88.8995,0,1); //
	AddStaticVehicle(601,1530.8094,-1685.0070,5.6508,272.8328,1,1); //
	AddStaticVehicle(596,1531.0225,-1644.4117,5.6119,177.7084,0,1); //
	AddStaticVehicle(523,1586.2479,-1674.8734,5.4633,277.2755,0,0); //
	AddStaticVehicle(523,1583.1127,-1681.0920,5.4673,271.0948,0,0); //
	AddStaticVehicle(596,1544.7028,-1653.0553,13.2778,93.0430,0,1); //

//Ballas cars
	AddStaticVehicle(566,1875.9742,-1249.5018,13.4280,98.5057,30,8); //
	AddStaticVehicle(412,1859.8281,-1237.8130,15.4851,182.8141,10,8); //
	AddStaticVehicle(581,1893.7911,-1229.6036,15.1557,93.5403,66,1); //
	AddStaticVehicle(471,1894.6156,-1225.6929,15.6744,134.3081,103,111); //
	AddStaticVehicle(471,1901.3557,-1231.7278,15.3377,154.7738,120,114); //
	AddStaticVehicle(536,1899.0067,-1268.3265,13.2930,90.2993,26,96); //
//Aztecas cars
	AddStaticVehicle(536,1758.3960,-1890.3652,13.2929,179.9916,12,1); //
	AddStaticVehicle(535,1804.1582,-1915.7855,13.1576,355.3434,28,1); //
	AddStaticVehicle(405,1794.8895,-1886.1208,13.2752,94.4029,24,1); //
	AddStaticVehicle(482,1787.2330,-1929.7397,13.5030,356.1396,48,48); //
//terrorist car

	AddStaticVehicle(535,857.1388,-1512.7634,13.1826,266.2852,55,255); // CARROTERRORISTA1
	AddStaticVehicle(411,864.3145,-1500.9471,13.2902,177.1969,55,255); // CARROTERRORISTA2
	AddStaticVehicle(468,872.1143,-1514.2010,13.2078,180.2583,55,255); // CARROTERRORISTA3
	AddStaticVehicle(603,884.0278,-1523.2661,13.4369,92.1882,55,255); // CARROTERRORISTA4
	AddStaticVehicle(470,894.0327,-1519.0878,13.1471,177.1234,55,255); // CARROTERRORISTA5
	AddStaticVehicle(492,871.7101,-1535.1669,13.3282,271.6587,55,255); // CARROTERRORISTA6
	AddStaticVehicle(421,871.7101,-1535.1669,13.3282,271.6587,55,255); // CARROTERRORISTA6

//non random
	AddStaticVehicle(539,1661.5609,-1244.4250,232.7351,0.0000,79,74); //vortex
	AddStaticVehicle(513,324.7664,2546.0984,16.4876,178.8663,-1,-1); // stuntplane
	AddStaticVehicle(513,290.2709,2544.7771,16.5000,178.0178,-1,-1); // stuntplane
	AddStaticVehicle(487,261.9073,2522.6987,16.4046,175.9395,-1,-1); // heli
	AddStaticVehicle(487,244.0523,2524.3516,16.4171,180.8316,-1,-1); // heli
	AddStaticVehicle(592,-73.1792,2502.1990,16.1641,270.0,-1,-1); //adromeda
	AddStaticVehicle(532,101.5550,2584.0725,17.4540,178.0316,-1,-1); // combine
	AddStaticVehicle(487,2527.4272,-1676.2626,20.1054,95.1306,4,4); // maverickgrove
	AddStaticVehicle(487,2457.3896,-944.3153,83.8574,90.3188,6,6); // MAVERICKVAGO
	AddStaticVehicle(467,2451.7405,-952.3864,79.7991,85.3322,6,8); // carrogrove1
	AddStaticVehicle(467,2457.8706,-962.3729,79.8253,182.3152,6,8); // carrovago1
	AddStaticVehicle(467,2450.2539,-951.7157,79.7920,86.2382,6,8); // carrovago2
	AddStaticVehicle(467,2453.4087,-971.7020,79.8104,90.3195,6,8); // carrovago3
	AddStaticVehicle(467,2475.7886,-960.8564,79.9128,181.3874,6,8); // carrovago 5
	AddStaticVehicle(463,1087.2861,-1627.8739,13.1784,352.3872,0,0); // motobikernegra1
	AddStaticVehicle(463,1089.6820,-1627.6414,13.1853,0.6450,0,0); // motobikernegra2
	AddStaticVehicle(463,1092.1783,-1627.0127,13.1791,359.7911,0,0); // motobikernegra3
	AddStaticVehicle(463,1094.3345,-1627.4471,13.1780,349.1285,0,0); // motobikernegra4
	AddStaticVehicle(463,1092.1193,-1607.5812,13.1683,178.2980,3,3); // motobikerroja1
	AddStaticVehicle(463,1089.3832,-1605.8486,13.1562,171.7833,3,3); // motobikerroja2
	AddStaticVehicle(463,1086.9456,-1605.8472,13.1532,184.7826,3,3); // motobikerroja3
	AddStaticVehicle(463,1092.4763,-1612.2197,13.1804,105.6068,3,3); // motobikerroja4
	AddStaticVehicle(482,1122.5763,-1614.5022,13.7658,268.6927,0,0); // carrobiker1
	AddStaticVehicle(482,1122.1694,-1622.8597,13.7543,270.6158,3,3); // carrobiker2
	AddStaticVehicle(487,1134.8693,-1618.8116,18.7174,91.5913,0,0); // helibiker
	AddStaticVehicle(487,1763.6259,-1922.1454,13.7477,3.8597,2,2); // ELIAZTECA
	AddStaticVehicle(596,1536.0636,-1679.6735,13.0975,182.6370,0,1); // carropolicianuevo1
	AddStaticVehicle(596,1536.3246,-1665.7350,13.0779,0.8646,0,1); // carronuevodepolicia2


	AddStaticVehicle(487,1989.2101,-2315.6187,13.6877,90.0719,3,29); // aereopuertols1
	AddStaticVehicle(487,1989.6472,-2382.5671,13.7280,89.3546,26,3); // aereopuertols2
	AddStaticVehicle(592,2104.5371,-2450.3350,14.7457,127.6844,1,1); // aereopuertols3
	AddStaticVehicle(476,1823.2938,-2620.9595,14.2504,6.5254,103,102); // aereopuertols4
	AddStaticVehicle(476,1753.4087,-2621.5369,14.2807,2.5245,119,117); // aereopuertols5
	AddStaticVehicle(476,1682.0386,-2621.4753,14.2768,2.1467,71,77); // aereopuertols6
	AddStaticVehicle(476,1614.5229,-2621.6226,14.2832,0.1232,89,91); // aereopuertols7
	AddStaticVehicle(513,1565.7913,-2629.7783,14.0965,358.0021,21,36); // aereopuertols8
	AddStaticVehicle(513,1544.4513,-2628.4651,14.1051,356.6818,55,20); // aereopuertols9
	AddStaticVehicle(487,1989.2771,-2249.0889,13.7321,90.0664,3,29); // aereopuertols10

	AddStaticVehicle(415,1929.1177,-2142.0269,13.3317,179.0541,0,1); // 1
	AddStaticVehicle(415,1973.7736,-2048.3306,13.3173,80.3827,0,1); // 2
	AddStaticVehicle(477,2015.4672,-1919.9286,13.3109,186.8631,94,94); // 5
	AddStaticVehicle(541,1729.3906,-1854.2275,13.0391,273.9059,22,22); // 6
	AddStaticVehicle(541,1784.2587,-1061.6458,23.5859,179.2794,0,0); // 7
	AddStaticVehicle(560,2337.3726,-1759.0365,13.2249,5.7874,52,39); // carritonuevorandom2
	AddStaticVehicle(542,2417.9902,-1712.1592,13.9233,161.7468,45,92); // carritonuevorandom3
	AddStaticVehicle(579,2497.7249,-1750.7595,13.4200,19.9000,62,62); // carritonuevorandom4
	AddStaticVehicle(475,1431.0903,-1028.8390,23.5388,88.9726,41,29); // carritonuevorandom5
	AddStaticVehicle(522,1585.9325,-1011.2542,23.4635,6.2532,36,105); // carritonuevorandom6
	AddStaticVehicle(402,1581.6658,-1043.7073,23.7765,127.1217,98,98); // carritonuevorandom7
	AddStaticVehicle(603,1636.3470,-1047.2949,23.7468,178.9253,58,1); // carritonuevorandom8
	AddStaticVehicle(567,1658.6262,-1106.8353,23.7459,88.3767,97,96); // carritonuevorandom9
	AddStaticVehicle(587,1721.4341,-1007.2422,23.6597,352.5149,95,1); // carritonuevorandom11
	AddStaticVehicle(541,1757.3734,-1037.6017,23.6065,178.4061,60,1); // carritonuevorandom12
	AddStaticVehicle(482,1788.9972,-1060.5746,24.1161,358.3538,71,71); // carritonuevorandom13
	AddStaticVehicle(534,1910.3546,-1120.5837,25.4346,178.2189,10,10); // carritonuevorandom14
	AddStaticVehicle(426,1965.4333,-1210.9683,25.1720,184.9839,7,7); // carritonuevorandom15
	AddStaticVehicle(477,2133.2910,-1132.6600,25.4150,44.8646,36,1); // carritonuevorandom16
	AddStaticVehicle(463,2121.1277,-1139.0764,24.5715,330.4652,22,22); // carritonuevorandom17
	AddStaticVehicle(567,2228.1467,-1162.9088,25.6521,90.8307,5,255); // carritonuevorandom18
	AddStaticVehicle(566,2227.7473,-1173.4236,25.4749,91.5053,5,255); // carritonuevorandom19
	AddStaticVehicle(482,2217.2166,-1166.0931,25.8519,90.2448,5,255); // carritonuevorandom20
	AddStaticVehicle(579,2205.7612,-1177.0782,25.6464,268.5305,5,255); // carritonuevorandom21
	AddStaticVehicle(587,2206.3572,-1160.9326,25.4849,270.3582,5,255); // carritonuevorandom22
	AddStaticVehicle(562,2102.1714,-982.6652,53.4541,75.6402,113,1); // carritonuevorandom24
	AddStaticVehicle(534,2422.0173,-1100.4874,40.8424,355.3915,42,42); // carritonuevorandom25
	AddStaticVehicle(477,1025.3546,-1550.9175,13.3122,180.0642,22,1); // carritorandom5
	AddStaticVehicle(451,1282.7555,-1355.3795,13.0742,0.2154,61,61); // carritorandom6
	AddStaticVehicle(514,1147.3329,-1239.4241,16.5345,180.9089,40,1); // carritorandom7
	AddStaticVehicle(560,974.2978,-1304.1595,13.0910,179.4659,21,1); // carritorandom8
	AddStaticVehicle(521,872.5186,-1339.9836,13.1065,359.7620,118,118); // carritorandom9
	AddStaticVehicle(579,746.6909,-1344.1605,13.4840,270.3925,10,10); // carritorandom10
	AddStaticVehicle(409,668.8904,-1294.4113,13.2978,0.8129,1,1); // carritorandom11
	AddStaticVehicle(560,666.2850,-1418.0859,13.7391,357.8325,37,0); // carritorandom12
	AddStaticVehicle(446,731.5723,-1495.3866,-0.4767,181.8125,1,5); // carritorandom13
	AddStaticVehicle(587,746.2108,-1648.0105,4.9734,179.6858,72,1); // carritorandom14
	AddStaticVehicle(405,1275.7303,-1558.8583,13.4093,90.3579,91,1); // carritorandom15
	AddStaticVehicle(420,1363.2097,-1643.3933,13.1434,269.7035,6,1); // carritorandom16
	AddStaticVehicle(426,1728.4484,-1857.7894,13.1572,267.0211,0,255); // carritorandom17
	AddStaticVehicle(482,1838.0282,-1871.4805,13.4888,357.9429,51,255); // carritorandom18
	AddStaticVehicle(415,1883.5469,-2022.4889,13.1719,180.4597,75,1); // carritorandom19

	AddStaticVehicle(402,1269.0828,-1796.7438,13.2771,179.7527,90,90); // corbinacarro1
	AddStaticVehicle(405,1144.7988,-1744.5017,13.3039,270.7393,0,255); // corbinacarro2
	AddStaticVehicle(506,1062.1855,-1743.1655,13.1835,90.0953,6,6); // corbinacarro4
	AddStaticVehicle(429,2386.5300,-1927.5349,13.0646,358.6533,2,1); // corbinacarro5
	AddStaticVehicle(492,2502.8694,-2005.9652,13.0484,88.7687,28,56); // corbinacarro6
	AddStaticVehicle(587,2092.1162,-2094.2622,13.2598,177.5269,75,1); // corbinacarro7
	AddStaticVehicle(603,1747.7627,-2099.0867,13.4085,182.4832,45,45); // corbinacarro8
	AddStaticVehicle(463,1098.3934,-1224.7743,15.3700,337.7727,7,7); // corbinaserver8
	AddStaticVehicle(458,792.1443,-1141.4364,23.6521,192.4477,109,1); // corbinaserver10
	AddStaticVehicle(466,2113.6301,-1782.6949,13.1352,177.9911,58,8); // corbinaserver11
	AddStaticVehicle(415,2297.2605,-1636.3132,14.5105,268.8837,36,1); // corbinaserver12
    AddStaticVehicle(471,814.3956,-1604.5946,13.0286,240.0132,74,91); //
	AddStaticVehicle(471,816.7177,-1625.6039,13.0280,324.1487,120,112); //
	AddStaticVehicle(522,850.1232,-1622.8463,13.1103,36.4190,120,120); //
	AddStaticVehicle(451,782.5373,-1630.3365,13.0892,270.1066,16,16); //
	AddStaticVehicle(411,782.1827,-1637.3625,13.1087,269.8729,64,1); //
	AddStaticVehicle(483,782.4832,-1622.9081,13.3917,270.4601,1,31); //
	AddStaticVehicle(411,1589.6237,-2646.5342,13.2740,4.0932,123,1); //
	AddStaticVehicle(409,1633.9878,-2625.2583,13.3465,309.1236,1,1); //
	AddStaticVehicle(522,1572.3452,-2649.1360,13.1150,354.9047,128,128); //
	AddStaticVehicle(522,1569.8604,-2648.8354,13.1044,4.5959,127,127); //
	AddStaticVehicle(603,1580.8483,-2645.3127,13.3845,356.0410,32,1); //
	AddStaticVehicle(461,979.0842,-1307.0564,12.9373,179.7826,75,1); //
	AddStaticVehicle(434,984.7905,-1306.8032,13.3458,181.4246,12,12); //
	AddStaticVehicle(462,998.8715,-1308.8579,12.9827,175.0090,14,14); //
	AddStaticVehicle(587,989.8030,-1306.5828,13.1080,172.3437,75,1); //
	AddStaticVehicle(480,1453.6626,-1748.2062,13.3205,3.0709,12,12); //
	AddStaticVehicle(411,1458.5813,-1739.9192,13.2740,268.3386,116,1); //
	AddStaticVehicle(409,1480.8899,-1724.8555,13.3469,89.9814,1,1); //
	AddStaticVehicle(522,1506.8608,-1752.2076,13.1183,23.8549,79,79); //
	AddStaticVehicle(444,1476.8365,-1708.7908,14.4182,221.5089,32,42); //
	AddStaticVehicle(490,1474.3512,-1739.2039,13.6744,90.0247,0,0); //
	AddStaticVehicle(526,1485.2145,-1739.0347,13.3135,90.6766,9,39); //

	AddStaticVehicle(537,2102.5232,-1953.7500,15.3495,90.0000,1,1); //
	AddStaticVehicle(524,2251.6672,-2640.0298,14.5090,90.4371,61,27); //
	AddStaticVehicle(530,2208.7607,-2598.6692,13.3110,93.3492,111,1); //
	AddStaticVehicle(530,2208.8132,-2596.4424,13.3116,94.1410,112,1); //
	AddStaticVehicle(522,2209.8481,-2526.4607,13.1182,263.4288,6,6); //
	AddStaticVehicle(535,2203.9880,-2530.6218,13.3106,359.5974,55,1); //
	AddStaticVehicle(516,2207.0769,-2568.2544,13.3807,86.2402,119,1); //
	AddStaticVehicle(495,2227.3005,-2416.9060,13.8977,171.2706,119,122); //
	AddStaticVehicle(451,2182.6982,-2477.8042,13.2538,0.4841,18,18); //
	AddStaticVehicle(515,2259.5027,-2491.5764,9.3723,357.3109,24,77); //
	AddStaticVehicle(431,2249.2258,-2055.3784,13.6426,225.2852,75,59); //

	AddStaticVehicle(408,2097.8464,-2011.8928,14.1025,224.0147,26,26); //
	AddStaticVehicle(487,2083.6294,-2014.5110,13.7234,110.5091,26,57); //
	AddStaticVehicle(560,545.9319,-1787.8971,5.5408,178.3222,41,29); //
	AddStaticVehicle(411,551.7209,-1788.1979,5.5763,178.6207,112,1); //
	AddStaticVehicle(463,537.7651,-1788.6774,5.3830,180.9041,22,22); //
	AddStaticVehicle(405,561.3389,-1792.4542,5.7669,137.7345,75,1); //
	AddStaticVehicle(487,561.0903,-1815.2262,6.2400,254.7836,54,29); //
	AddStaticVehicle(562,534.3100,-1788.9929,5.4876,188.7133,35,1); //
	AddStaticVehicle(438,425.3434,-1794.5608,5.5471,349.8226,6,76); //
	AddStaticVehicle(522,647.9882,-1783.6914,11.7240,348.7626,120,120); //
	AddStaticVehicle(562,504.1665,-1604.5560,15.8929,92.3234,17,1); //
	AddStaticVehicle(603,402.9661,-1439.3662,32.2917,32.8508,45,45); //
	AddStaticVehicle(438,371.8032,-1344.3462,14.5661,202.8526,6,76); //
	AddStaticVehicle(521,500.3034,-1295.8384,15.4267,313.5233,92,3); //
	AddStaticVehicle(522,830.6345,-1333.1141,13.1205,270.0915,128,128); //
	AddStaticVehicle(431,792.6086,-1339.1798,13.5622,179.8926,92,72); //
	AddStaticVehicle(477,1348.4124,-1753.1536,13.1131,179.5750,36,1); //

	AddStaticVehicle(602,-2502.0293,-600.3530,132.1321,178.3081,-1,-1); // driftzones
	AddStaticVehicle(560,-2505.5940,-600.6416,132.1321,180.2393,-1,-1); // driftzones
	AddStaticVehicle(558,-2509.4561,-602.0853,132.1328,180.1262,-1,-1); // driftzones
	AddStaticVehicle(562,-2513.2363,-602.8759,132.1327,179.8866,-1,-1); // driftzones
	AddStaticVehicle(541,-2516.9885,-601.9250,132.1326,180.3385,-1,-1); // driftzones
	AddStaticVehicle(451,-2520.4460,-603.0859,132.1293,180.6989,-1,-1); // driftzones
	AddStaticVehicle(560,-317.9033,1514.2576,74.9291,358.5075,-1,-1); // driftzones
	AddStaticVehicle(550,-324.1991,1515.8608,74.9325,357.5335,-1,-1); // driftzones
	AddStaticVehicle(558,-330.5212,1515.3676,74.9301,359.9252,-1,-1); // driftzones
	AddStaticVehicle(559,-336.6664,1515.0902,74.9301,359.1841,-1,-1); // driftzones
	AddStaticVehicle(411,-342.7112,1515.8678,74.9275,357.8769,-1,-1); //driftzones
	AddStaticVehicle(522,-346.1451,1516.0438,74.9314,359.2783,-1,-1); // driftzones
	AddStaticVehicle(522,-314.8004,1514.8811,74.9278,359.7531,-1,-1); // driftzones


   //------LS CARS----------------------------------------------
    AddStaticVehicle(415,1514.3794,-768.7809,80.1836,314.4142,123,1); // sentinel
    AddStaticVehicle(415,1249.8334,-785.7552,90.1375,179.3000,11,1); // sentinel
    AddStaticVehicle(522,1029.7523,-811.4377,101.5065,200.7496,10,1); //
    AddStaticVehicle(522,871.2562,-752.8420,93.8164,69.5659,45,1); //
    AddStaticVehicle(411,772.6103,-808.9720,64.5864,102.0853,125,125); //
    AddStaticVehicle(411,407.6156,-1152.5936,76.7120,326.8041,125,125); //
    AddStaticVehicle(411,561.6894,-1136.0570,51.0276,117.4692,6,6); //
    AddStaticVehicle(415,688.0030,-1073.9025,49.5755,59.9431,67,1); //
    AddStaticVehicle(415,831.2045,-1062.3458,25.2182,29.7846,24,1); //
    AddStaticVehicle(415,884.6793,-968.2660,36.5035,32.6688,62,1); //
    AddStaticVehicle(415,996.5262,-894.0774,42.0409,358.2265,92,1); //
    AddStaticVehicle(415,1037.5706,-982.0071,42.5690,267.9116,20,1); //
    AddStaticVehicle(411,1132.8601,-928.6786,42.8228,180.4437,6,6); //
    AddStaticVehicle(415,1137.9973,-1024.3724,31.7746,181.7902,36,1); //
    AddStaticVehicle(415,1036.2466,-1027.5079,31.9847,180.7019,36,1); //
    AddStaticVehicle(415,984.0715,-1105.6658,23.5078,271.2034,14,14); //
    AddStaticVehicle(415,1095.4774,-1101.6764,25.1611,269.9635,46,46); //
    AddStaticVehicle(439,1281.6157,-1100.5900,25.8507,271.5917,54,38); //
    AddStaticVehicle(439,1386.0189,-1157.2288,23.7252,260.2102,37,78); //
    AddStaticVehicle(522,1524.4844,-1183.5206,23.8589,358.9862,39,39); //
    AddStaticVehicle(415,1650.2299,-1102.2439,23.7902,89.7787,11,11); //
    AddStaticVehicle(415,1657.6351,-1102.2693,23.7871,89.7790,11,11); //
    AddStaticVehicle(562,1786.1975,-1233.9165,16.7850,179.8260,113,1); //
    AddStaticVehicle(562,1911.6240,-1253.3813,14.1591,268.6856,113,1); //
    AddStaticVehicle(461,2021.1063,-1290.8213,23.5026,178.1288,53,1); //
    AddStaticVehicle(461,2149.0876,-1262.0226,23.5716,269.2614,53,1); //
    AddStaticVehicle(463,2148.0625,-1180.9854,23.3583,90.1253,11,11); //
    AddStaticVehicle(463,2178.6440,-1098.5967,24.9596,245.9400,11,11); //
    AddStaticVehicle(415,2241.6069,-1233.8923,24.1804,179.5700,75,1); //
    AddStaticVehicle(415,2317.4543,-1261.7748,23.7001,268.4347,91,1); //
    AddStaticVehicle(415,2364.9507,-1146.6046,27.3882,90.7206,91,1); //
    AddStaticVehicle(477,2407.0486,-1231.4307,23.6293,84.7516,121,1); //
    AddStaticVehicle(477,2410.9155,-1326.1241,24.4714,182.4054,75,1); //
    AddStaticVehicle(562,2403.8960,-1397.7264,24.0334,359.8668,1,5); //
    AddStaticVehicle(562,2399.9578,-1470.4218,23.9621,86.4532,1,5); //
    AddStaticVehicle(489,2390.9099,-1490.7959,23.9651,90.5130,112,120); //
    AddStaticVehicle(562,2231.4204,-1476.6047,23.6012,90.4367,24,55); //
    AddStaticVehicle(496,2190.5662,-1377.7700,23.7131,87.5041,37,19); //
    AddStaticVehicle(496,2100.9929,-1448.0321,23.6821,90.6815,37,19); //
    AddStaticVehicle(562,1858.7584,-1444.1022,13.6606,1.1085,28,119); //
    AddStaticVehicle(416,2020.3661,-1414.4189,17.1409,246.3838,1,3); //
    AddStaticVehicle(416,2032.0220,-1428.5435,17.1977,194.5004,1,3); //
    AddStaticVehicle(416,2022.0945,-1445.4076,16.2277,91.5702,1,3); //
    AddStaticVehicle(506,1723.1591,-1421.5968,13.2506,359.6973,76,76); //
    AddStaticVehicle(506,1688.0873,-1291.0228,13.5012,88.6487,76,76); //
    AddStaticVehicle(506,1435.4188,-1329.0154,13.2664,91.4217,76,76); //
    AddStaticVehicle(415,1366.7446,-1591.2366,13.0591,76.7128,16,1); //
    AddStaticVehicle(415,1222.2384,-1550.9446,13.3821,2.8210,4,1); //
    AddStaticVehicle(415,1142.0255,-1600.0568,13.7256,177.2647,4,1); //
    AddStaticVehicle(415,925.0248,-1540.5676,13.3852,359.1440,4,1); //
    AddStaticVehicle(562,949.9050,-1281.5825,14.6363,359.7708,17,1); //
    AddStaticVehicle(562,950.7344,-1182.5940,19.6467,2.4030,17,1); //
    AddStaticVehicle(562,764.2133,-1374.6011,13.2463,178.1604,17,1); //
    AddStaticVehicle(415,608.0295,-1348.4823,13.6911,280.7679,75,1); //
    AddStaticVehicle(415,532.5741,-1366.9030,15.8223,281.2404,75,1); //
    AddStaticVehicle(411,551.3894,-1560.9835,15.5352,179.6106,25,25); //
    AddStaticVehicle(411,524.6190,-1674.5990,18.4362,263.6357,25,25); //
    AddStaticVehicle(415,644.0934,-1599.8939,15.4266,3.1201,36,1); //
    AddStaticVehicle(415,1061.8976,-1740.1647,13.2417,268.5021,62,1); //
    AddStaticVehicle(415,1037.8955,-1860.3655,13.4436,183.9536,36,1); //
    AddStaticVehicle(415,1222.3801,-1826.5110,13.0902,267.0775,14,14); //
    AddStaticVehicle(415,1266.7709,-1795.6388,13.0863,2.4747,14,14); //
    AddStaticVehicle(439,1553.6052,-1801.5413,13.4424,181.2625,37,78); //
    AddStaticVehicle(522,1888.7537,-1760.0548,13.4219,268.8309,43,43); //
    AddStaticVehicle(415,2120.2739,-1776.0271,13.2818,270.2170,26,26); //
    AddStaticVehicle(562,2184.6082,-1807.7941,13.2518,179.5643,113,1); //
    AddStaticVehicle(562,2339.8633,-1753.1971,13.2674,270.2499,113,1); //
    AddStaticVehicle(461,2449.0366,-1772.2334,13.1428,273.1400,53,1); //
    AddStaticVehicle(562,2507.6978,-1669.8982,13.1622,351.7727,30,26); //
    AddStaticVehicle(415,1595.4385,-1617.2441,13.5925,88.6177,0,1); //
    AddStaticVehicle(415,1600.2290,-1628.2467,13.6441,90.5365,0,1); //
    AddStaticVehicle(415,1602.0815,-1691.6024,5.6124,93.2062,0,1); //
    AddStaticVehicle(415,1591.2823,-1712.0226,5.6118,181.6814,0,1); //
    AddStaticVehicle(415,1570.2242,-1711.9719,5.6112,182.8545,0,1); //
    AddStaticVehicle(562,1565.4744,-1710.8352,5.6496,357.3685,1,1); //
    AddStaticVehicle(562,1545.4911,-1668.5909,5.6494,270.3734,1,1); //
    AddStaticVehicle(415,1538.2794,-1643.2148,5.6223,359.9347,0,1); //
    AddStaticVehicle(411,1822.6370,-1345.7656,14.1490,354.0271,106,1); //
	AddStaticVehicle(522,1186.2867,-1126.6045,23.6034,185.1623,127,127); //
	AddStaticVehicle(437,837.6011,-1787.8853,13.9613,268.2985,79,7); //
	AddStaticVehicle(493,529.6104,-1919.2826,0.0052,173.0692,36,13); //
	AddStaticVehicle(451,1149.7013,-2037.1874,68.7147,271.7909,46,46); //
	AddStaticVehicle(487,1148.6884,-2020.4122,69.1853,103.4892,26,3); //
	AddStaticVehicle(560,1174.1676,-2017.3585,68.7082,177.1963,56,29); //
	AddStaticVehicle(409,1174.1478,-2054.9175,68.8045,354.9577,1,1); //
	AddStaticVehicle(487,1191.2570,-2047.3258,69.1853,292.5276,3,29); //
	AddStaticVehicle(562,1192.2651,-2036.3717,68.6676,89.6214,11,1); //
	AddStaticVehicle(522,1161.1521,-2049.6775,68.5662,265.0886,79,79); //
	AddStaticVehicle(559,1188.3639,-2019.9196,68.6642,194.9029,60,1); //
	AddStaticVehicle(415,1192.9316,-2019.0562,68.7785,180.6184,0,1); //
	AddStaticVehicle(522,1541.9891,-1352.4823,329.0281,62.7485,0,1); //
    AddStaticVehicle(402,-57.8669,-1551.3214,2.4424,133.7497,30,30); //
	AddStaticVehicle(405,-48.3342,-1570.6926,2.4842,150.4375,91,1); //
	AddStaticVehicle(468,-98.5657,-1582.2545,2.2857,309.2587,53,53); //
	AddStaticVehicle(531,-84.6504,-1598.6555,2.5783,332.6945,36,2); //
	AddStaticVehicle(410,-83.2427,-1556.8472,2.2614,218.3801,9,1); //
	AddStaticVehicle(426,1338.0956,-858.2043,39.1495,85.6504,62,62); //
	AddStaticVehicle(414,1329.8427,-884.1942,39.6718,180.7197,28,1); //
	AddStaticVehicle(419,1338.2014,-862.6967,39.2047,88.0848,47,76); //
	AddStaticVehicle(521,1314.4995,-854.5457,39.1433,165.0825,115,118); //
	AddStaticVehicle(521,1312.8566,-854.2558,39.1484,165.2827,25,118); //
	AddStaticVehicle(415,1322.2117,-856.7028,39.3501,82.1141,20,1); //

	AddStaticVehicle(416,1182.2881,-1308.4526,13.7913,269.6079,1,3); //
	AddStaticVehicle(420,1210.3370,-1327.1400,13.2569,174.6431,6,1); //
	AddStaticVehicle(522,1183.2455,-1331.6036,13.1516,310.9444,120,120); //
	AddStaticVehicle(522,1183.2078,-1334.3416,13.1472,310.6580,128,128); //
	AddStaticVehicle(416,1181.5668,-1338.3938,13.8520,270.6332,1,3); //
	AddStaticVehicle(599,1517.5621,-1652.3289,13.7333,160.6172,0,1); //
	AddStaticVehicle(451,1670.6614,-1709.5360,20.1894,88.5876,61,61); //
	AddStaticVehicle(451,1670.8435,-1714.3716,20.1876,93.6844,75,75); //
	AddStaticVehicle(442,1739.1228,-1745.4307,13.3740,2.4087,11,105); //
	AddStaticVehicle(470,2024.3427,-2058.7185,13.5388,270.4536,43,0); //
	AddStaticVehicle(562,2101.3948,-2031.0791,13.2073,3.4141,116,1); //
	AddStaticVehicle(560,2080.6362,-2040.6660,13.2519,356.2349,52,39); //
	AddStaticVehicle(522,2093.0654,-2026.8159,13.1100,7.8121,127,127); //
	AddStaticVehicle(522,2091.5154,-2022.2766,13.1089,97.8646,79,79); //
	AddStaticVehicle(522,1280.8254,-1096.4889,25.5769,125.6588,6,6); //
	AddStaticVehicle(519,1651.6498,-2452.9104,14.4735,176.3667,1,1); //
	AddStaticVehicle(512,1615.9497,-2458.7314,13.8372,170.0185,15,123); //
	AddStaticVehicle(511,1706.0287,-2464.0610,14.9287,170.4442,4,90); //

	AddStaticVehicle(562,2435.2932,-1223.4414,24.7484,180.3532,101,1); //
	AddStaticVehicle(409,2421.0950,-1240.0984,23.9602,12.9949,0,0); //
	AddStaticVehicle(496,2409.8008,-1222.9240,24.6112,272.0022,126,126); //
	AddStaticVehicle(520,2762.1379,-2423.4297,14.2238,41.5805,0,0); //
	AddStaticVehicle(520,2758.3652,-2447.5557,15.0712,38.9630,0,0); //
	AddStaticVehicle(425,2758.1868,-2463.4922,14.0592,9.6753,43,0); //
	AddStaticVehicle(411,785.8739,-488.8534,17.0710,179.7756,43,43); //
	AddStaticVehicle(468,2911.6704,-1400.3120,10.5356,338.4107,3,3); //
	AddStaticVehicle(468,2910.7292,-1375.8083,10.5436,348.7285,6,6); //
	AddStaticVehicle(495,2795.2173,-1429.8583,40.4119,183.7130,118,117); //
	AddStaticVehicle(495,2815.5825,-1429.2422,40.4143,182.1648,116,115); //
	AddStaticVehicle(522,2792.1182,-1440.9136,39.6250,269.6050,120,120); //
	AddStaticVehicle(522,2792.3623,-1442.1428,39.6243,269.0981,6,1); //
	AddStaticVehicle(587,2793.7302,-1463.6898,39.7890,265.7118,95,1); //
	AddStaticVehicle(451,2793.4993,-1459.7850,39.7656,265.4950,0,0); //
	AddStaticVehicle(558,2794.5625,-1453.0688,39.6795,267.1203,24,1); //
	AddStaticVehicle(471,2818.0503,-1450.0078,39.5439,102.1124,74,83); //
	AddStaticVehicle(471,2817.3591,-1453.7620,39.5437,95.3087,120,113); //
	AddStaticVehicle(468,2814.8157,-1441.8473,39.7279,94.7065,6,6); //
	
	return 1;
}

public OnGameModeExit()
{
	return 1;
}

public OnPlayerRequestClass(playerid, classid)
{
	if(classid == 0 || classid == 1 || classid ==  2)
	{
	    GameTextForPlayer(playerid, "Groove", 1000, 3);
	    SetPlayerColor(playerid,COLOR_PLAYER_VIOLET);
		Team[playerid] = TGROOVE;
	}
	if(classid == 3 || classid == 4 || classid ==  5)
	{
	    GameTextForPlayer(playerid, "Aztec", 1000, 3);
		SetPlayerColor(playerid,COLOR_PLAYER_GREENYELLOW);
		Team[playerid] = TAZTEC;
	}
	if(classid == 6 || classid == 7 || classid ==  8)
	{
	    GameTextForPlayer(playerid, "biker", 1000, 3);
	    SetPlayerColor(playerid,COLOR_PLAYER_SPECIALGREEN);
	    Team[playerid] = TBIKER;
	}
	if(classid == 9 || classid == 10 || classid ==  11)
	{
	    GameTextForPlayer(playerid, "civil", 1000, 3);
	    SetPlayerColor(playerid,COLOR_PLAYER_LIGHTGREY);
	    Team[playerid] = TCIVIL;
	}
	if(classid == 12 || classid == 13 || classid ==  14)
	{
	    GameTextForPlayer(playerid, "police", 1000, 3);
	    SetPlayerColor(playerid,COLOR_PLAYER_WHITE);
	    Team[playerid] = TPOLICE;
	}
	if(classid == 15 || classid == 16 || classid ==  17)
	{
	    GameTextForPlayer(playerid, "chiken", 1000, 3);
	    SetPlayerColor(playerid,COLOR_PLAYER_LIGHTBROWN);
	    Team[playerid] = TCHIKEN;
	}
	if(classid == 18 || classid == 19 || classid ==  20)
	{
	    GameTextForPlayer(playerid, "Mafia", 1000, 3);
	    SetPlayerColor(playerid,COLOR_MAGENTA);
	    Team[playerid] = TMAFIA;
	}
	SetPlayerPos(playerid, 388.1774,-2028.6515,8.0286);
	SetPlayerFacingAngle(playerid,89.0853);
	SetPlayerCameraPos(playerid, 384.0593,-2028.7317,7.8359);
	SetPlayerCameraLookAt(playerid, 388.1774,-2028.6515,8.0286);
	return 1;
}

public OnPlayerConnect(playerid)
{
	SendClientMessage(playerid,COLOR_SILVER,"Bienvenue sur le Serveur SunShine /aide et /loi serons vos atout si c'est votre première visite");
    if(PlayerNameStartsWith(playerid, "[LZR]"))
    {
        SendClientMessageToAll(COLOR_VIOLET,"Un membre de la team LZR vient de ce connecter");
        PI[playerid][LZR]=1;
    }
    else
    {
    	PI[playerid][LZR]=0;
    }
	PI[playerid][Login]=0;
	
	Bank[playerid][creer]=0;
	Bank[playerid][pin]=0;
	Bank[playerid][solde]=0;
	Bank[playerid][retrait]=0;
	Bank[playerid][ajout]=0;
	Bank[playerid][totalajout]=0;
	Bank[playerid][totalretrait]=0;
	return 1;
}

public OnPlayerDisconnect(playerid, reason)
{
	return 1;
}

public OnPlayerSpawn(playerid)
{
	if(PI[playerid][LZR] == 1)
	{
	    ERRORMSG("Attention afin de jouer correctement sur ce serveur la Team a mis en place un mot de passe entrer ce mot de passe.");
	    ShowPlayerDialog(playerid,DIAPASSTEAM,DIALOG_STYLE_INPUT,"PASS TEAM","Entrer le mot de passe de la team:","enter","");
	}
	if(PI[playerid][Login]==0)
	{
		if (dini_Exists(CompteJoueur(playerid)))
		{
			SetPlayerInterior(playerid,6);
			TogglePlayerControllable(playerid,0);
			SetPlayerPos(playerid,265.1273,77.6823,1001.0391);
			SetPlayerFacingAngle(playerid,271.3259);
			PI[playerid][Jail]=1;
			PI[playerid][Silence]=1;
		}
	}
	SetPlayerTeam(playerid,Team[playerid]);
	return 1;
}

public OnPlayerDeath(playerid, killerid, reason)
{
	PI[playerid][death]+= 1;
	PI[killerid][kill]+= 1;

	return 1;
}

public OnVehicleSpawn(vehicleid)
{
    SetVehicleNumberPlate(vehicleid, "SunShine");
	return 1;
}

public OnVehicleDeath(vehicleid, killerid)
{

	return 1;
}

public OnPlayerText(playerid, text[])
{
	if(PI[playerid][Silence]==1)
	{
	    return 0;
	}
	format(str,128,"*[%d]%s:{FFFFFF} %s",playerid,nom(playerid),text);
	SendClientMessageToAll(GetPlayerColor(playerid),str);
	if(text[0] == '!')
	{
	    SendTeamMessage(Team[playerid],GetPlayerColor(playerid),text[1]);
	}
	return 0;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
   	dcmd(register,8,cmdtext);
	dcmd(login,5,cmdtext);
	if (strcmp("/kill", cmdtext, true) == 0)
	{
		SetPlayerHealth(playerid,-1.0);
		return 1;
	}
	if(strcmp("/god",cmdtext,true)==0)
	{
	    SetPlayerHealth(playerid,99999999.0);
	    SendClientMessage(playerid,COLOR_RED,"God mode activé");
	    return 1;
	}
	if(strcmp("/0",cmdtext,true)==0)
	{
	    SetPlayerPos(playerid,0.0,0.0,0.0);
	    return 1;
	}
	
	return 0;
}

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
	return 1;
}

public OnPlayerExitVehicle(playerid, vehicleid)
{
	return 1;
}

public OnPlayerStateChange(playerid, newstate, oldstate)
{
	return 1;
}

public OnPlayerEnterCheckpoint(playerid)
{
	return 1;
}

public OnPlayerLeaveCheckpoint(playerid)
{
	return 1;
}

public OnPlayerEnterRaceCheckpoint(playerid)
{
	return 1;
}

public OnPlayerLeaveRaceCheckpoint(playerid)
{
	return 1;
}

public OnRconCommand(cmd[])
{
	return 1;
}

public OnPlayerRequestSpawn(playerid)
{
	return 1;
}

public OnObjectMoved(objectid)
{
	return 1;
}

public OnPlayerObjectMoved(playerid, objectid)
{
	return 1;
}

public OnPlayerPickUpPickup(playerid, pickupid)
{
	return 1;
}

public OnVehicleMod(playerid, vehicleid, componentid)
{
	return 1;
}

public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
{
	return 1;
}

public OnVehicleRespray(playerid, vehicleid, color1, color2)
{
	return 1;
}

public OnPlayerSelectedMenuRow(playerid, row)
{
	return 1;
}

public OnPlayerExitedMenu(playerid)
{
	return 1;
}

public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
{
	return 1;
}

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
	return 1;
}

public OnRconLoginAttempt(ip[], password[], success)
{
	return 1;
}

public OnPlayerUpdate(playerid)
{
	return 1;
}

public OnPlayerStreamIn(playerid, forplayerid)
{
	return 1;
}

public OnPlayerStreamOut(playerid, forplayerid)
{
	return 1;
}

public OnVehicleStreamIn(vehicleid, forplayerid)
{
	return 1;
}

public OnVehicleStreamOut(vehicleid, forplayerid)
{
	return 1;
}

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(dialogid == DIAPASSTEAM)//id 1
	{
	    if(response)
	    {
	        if(strcmp(inputtext,TPASS,false) == 0)
	        {
		  		OKMSG("Votre mot de passe est accepter ;)");
		  		PI[playerid][LZR] = 2;
			}
			else
			{
			    ERRORMSG("Mot de passe invalide!!!");
		   	 	Kick(playerid);
			}
		}
		else
		{
		    ERRORMSG("Mot de passe obligatoire!!!");
		    Kick(playerid);
		}
	}
	return 1;
}

public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
	return 1;
}

dcmd_register(playerid,cmdtext[])
{
    new tmp[256];
    new tmp3[256];
	new idx;
	tmp = strtok(cmdtext,idx);
	if(!strlen(tmp))
	{
		INFOMSG(" /register [mot de passe]");
		return 1;
	}
	if(!dini_Exists(CompteJoueur(playerid)))
	{
	    new strdate[20],strpin[4], year,month,day,hour,mins;
		getdate(year, month, day);
		gettime(hour, mins);
		GetPlayerIp(playerid,tmp3,100);
		format(strdate, sizeof(strdate), "%d/%d/%d a %d h %d",day,month,year,hour,mins);
		format(strpin,4,"%d%d%d%d",random(9),random(9),random(9),random(9));
		
		dini_Create(CompteJoueur(playerid));
		dini_IntSet(CompteJoueur(playerid),"passe",udb_hash(tmp));
		dini_Set(CompteJoueur(playerid),"Motdepasse",tmp);
		dini_Set(CompteJoueur(playerid),"ip du jour d'enregistrement",tmp3);
		dini_Set(CompteJoueur(playerid),"date d'enregistrement",strdate);
		dini_IntSet(CompteJoueur(playerid),"Argent",GetPlayerMoney(playerid));
		dini_IntSet(CompteJoueur(playerid),"interior",GetPlayerInterior(playerid));
		dini_IntSet(CompteJoueur(playerid),"staff",0);
		dini_IntSet(CompteJoueur(playerid),"vip",0);
		dini_IntSet(CompteJoueur(playerid),"LZR",0);
		dini_IntSet(CompteJoueur(playerid),"Silence",0);
		dini_IntSet(CompteJoueur(playerid),"Jail",0);
		dini_IntSet(CompteJoueur(playerid),"Commande",0);
		dini_IntSet(CompteJoueur(playerid),"Chat",0);
		dini_IntSet(CompteJoueur(playerid),"Kill",0);
		dini_IntSet(CompteJoueur(playerid),"Death",0);
		dini_IntSet(CompteJoueur(playerid),"Respect",0);
		dini_IntSet(CompteJoueur(playerid),"Kick",0);
		dini_IntSet(CompteJoueur(playerid),"Ban",0);
		dini_IntSet(CompteJoueur(playerid),"BankCreer",0);
		dini_IntSet(CompteJoueur(playerid),"TotalBank",0);
		dini_IntSet(CompteJoueur(playerid),"PlusBank",0);
		dini_IntSet(CompteJoueur(playerid),"MoinBank",0);
		dini_Set(CompteJoueur(playerid),"Pinbank",strpin);
		dini_IntSet(CompteJoueur(playerid),"NBreport",0);
		dini_IntSet(CompteJoueur(playerid),"PM",0);
		dini_IntSet(CompteJoueur(playerid),"AutorisePM",0);
		dini_IntSet(CompteJoueur(playerid),"biz",-1);
		dini_IntSet(CompteJoueur(playerid),"car",-1);

		format(str,sizeof(str),"Votre mot de passe :----> %s <----ne le perder pas!",tmp);
		OKMSG(str);
		PlayerPlaySound(playerid,1057,0.0,0.0,0.0);
		return 1;
	}
	if(dini_Exists(CompteJoueur(playerid)))
	{
		ERRORMSG("compte déjà enregistré");
		return 1;
	}
	return 1;
}
dcmd_login(playerid,cmdtext[])
{
	new tmp[256];
	new tmp3[256];
	new okpass[256];
	new idx;
	new strdate[20], year,month,day,hour,mins;
	getdate(year, month, day);
	gettime(hour, mins);
	tmp=strtok(cmdtext, idx);
	if(!strlen(CompteJoueur(playerid)))
	{
		INFOMSG(" /login [mot de passe]");
		return 1;
	}
	if(GetPlayerLogin(playerid)== 1)
	{
		ERRORMSG("Vous étes déjà loggé");
		return 1;
	}
	if (dini_Exists(CompteJoueur(playerid)))
	{
		okpass=dini_Get(CompteJoueur(playerid),"passe");
		if(udb_hash(tmp)!=strval(okpass))
		{
			ERRORMSG("Mauvais mot de passe!");
		}
		else
		{
		    GetPlayerIp(playerid,tmp3,100);
		    format(strdate, sizeof(strdate), "%d/%d/%d a %d h %d",day,month,year,hour,mins);

			dini_Set(CompteJoueur(playerid),"date de dernier passage",strdate);
		    dini_Set(CompteJoueur(playerid),"derniere ip connu",tmp3);

		   	PI[playerid][car]= dini_Int(CompteJoueur(playerid),"car");
		    PI[playerid][Argent]= dini_Int(CompteJoueur(playerid),"Argent");
		    PI[playerid][staff]= dini_Int(CompteJoueur(playerid),"staff");
		    PI[playerid][Silence]= dini_Int(CompteJoueur(playerid),"Silence");
		    PI[playerid][Jail]= dini_Int(CompteJoueur(playerid),"Jail");
		    PI[playerid][Argent]= dini_Int(CompteJoueur(playerid),"Argent");
		    PI[playerid][commande]= dini_Int(CompteJoueur(playerid),"Commande");
		    PI[playerid][chat]= dini_Int(CompteJoueur(playerid),"Chat");
		    PI[playerid][kill]= dini_Int(CompteJoueur(playerid),"Kill");
		    PI[playerid][death]= dini_Int(CompteJoueur(playerid),"Death");


			GivePlayerMoney(playerid,PI[playerid][Argent]);
			PI[playerid][Login]=1;
			SetPlayerLogin(playerid,1);
			SetPlayerLevel(playerid,dini_Int(CompteJoueur(playerid),"staff"));
			BuyBizPlayer(playerid,dini_Int(CompteJoueur(playerid),"biz"));
			PlayerPlaySound(playerid,1057,0.0,0.0,0.0);
			OKMSG("Mot de passe accepté, bon jeu");
			SpawnPlayer(playerid);
			SetPlayerInterior(playerid,0);
		}
	}
	return 1;
}

/*
new cage[MAX_PLAYERS][4];
stock CagePlayer(playerid)
{
    if(IsPlayerConnected(playerid))
    {
        new Float:X, Float:Y, Float:Z;
        GetPlayerPos(playerid, X, Y, Z);
        cage[playerid][0] = CreateDynamicObject(985, X, Y+4, Z, 0.0, 0.0, 0.0);
        cage[playerid][1] = CreateDynamicObject(985, X+4, Y, Z, 0.0, 0.0, 90.0);
        cage[playerid][2] = CreateDynamicObject(985, X-4, Y, Z, 0.0, 0.0, 270.0);
        cage[playerid][3] = CreateDynamicObject(985, X, Y-4, Z, 0.0, 0.0, 180.0);
        caged[playerid] = 1; // Use this in a /cage command to prevent being caged twice and causing the cage to be unremovable.
        PlayerPlaySound(playerid, 1137, X, Y, Z);
    }
}

stock UnCagePlayer(playerid)
{
    cage[playerid][0] = DestroyDynamicObject(cage[playerid][0]);
    cage[playerid][1] = DestroyDynamicObject(cage[playerid][1]);
    cage[playerid][2] = DestroyDynamicObject(cage[playerid][2]);
    cage[playerid][3] = DestroyDynamicObject(cage[playerid][3]);
    caged[playerid] = 0;
}*/
